html {
  font-size: 50px;
}
@media screen and (min-width: 360px) {
  html {
    font-size: 24px;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 25px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 36px;
  }
}
@media screen and (min-width: 750px) {
  html {
    font-size: 50px;
  }
}
body {
  position: relative;
  min-width: 320px;
  width: 15rem;
  margin: 0 auto;
  background-color: #f5f5f5;
  font-family: Arial, Helvetica;
}
body::after {
  content: "";
  display: block;
  height: 2rem;
}
.w {
  width: 13.8rem;
}
.bg-img {
  width: 15rem;
  height: 6.88rem;
}
.user {
  position: absolute;
  left: 0;
  top: 1.64rem;
  height: 2.6rem;
}
.user div {
  float: left;
}
.user .user-logo img {
  width: 2.56rem;
  margin: 0 0.6rem;
}
.user .user-name {
  margin-top: 0.2rem;
}
.user .user-name span {
  font-size: 0.8rem;
  color: #ffffff;
}
.user .user-name p {
  margin-top: 0.1rem;
  font-size: 0.6rem;
  color: #ffffff;
}
.dingdan {
  position: relative;
  height: 5.7rem;
  background-color: #fff;
  margin: 0 auto;
  border-radius: 0.3rem;
  margin-top: -1.6rem;
}
.dingdan h3 {
  height: 1.9rem;
  line-height: 1.9rem;
  padding-left: 0.4rem;
  font-size: 0.6rem;
  color: #333;
  border-bottom: 0.02rem solid rgba(0, 0, 0, 0.1);
}
.dingdan .dingdan-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 3.8rem;
}
.dingdan .dingdan-content .box01 {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 2.8rem;
  height: 2.4rem;
}
.dingdan .dingdan-content .box01 .dingdan-img01 img {
  width: 1rem;
  height: 0.8rem;
}
.dingdan .dingdan-content .box01 span {
  font-size: 0.48rem;
  color: #666;
}
.huoguo-logo {
  margin: 0 auto;
  background-color: #fff;
  margin-top: 0.4rem;
}
.huoguo-logo img {
  width: 100%;
}
.service {
  height: 8.36rem;
  background-color: #fff;
  margin: 0.4rem auto;
  border-radius: 0.3rem;
}
.service h3 {
  height: 1.9rem;
  line-height: 1.9rem;
  padding-left: 0.4rem;
  font-size: 0.6rem;
  border-bottom: 0.02rem solid rgba(0, 0, 0, 0.1);
}
.service .service-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 6.46rem;
}
.service .service-content .box02 {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 25%;
  height: 2.8rem;
}
.service .service-content .box02 img {
  width: 1.6rem;
  height: 1.28rem;
}
.service .service-content .box02 span {
  font-size: 0.48rem;
  color: #666;
}
.footer-menu {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15rem;
  height: 2rem;
  background-color: #fff;
}
.footer-menu a {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 25%;
  color: #333;
}
.footer-menu a div {
  width: 0.8rem;
  height: 0.8rem;
}
.footer-menu a:nth-of-type(1) div {
  background: url(../images/tab-index.png) no-repeat;
  background-size: 100%;
}
.footer-menu a:nth-of-type(2) div {
  background: url(../images/tab-category.png) no-repeat;
  background-size: 100%;
}
.footer-menu a:nth-of-type(3) div {
  background: url(../images/tab-cart.png) no-repeat;
  background-size: 100%;
}
.footer-menu a:nth-of-type(4) div {
  background: url(../images/tab-mine.png) no-repeat;
  background-size: 100%;
}
.footer-menu a span {
  font-size: 0.44rem;
}
.footer-menu a:hover {
  color: red;
  text-decoration: none;
}
.footer-menu a:nth-of-type(1):hover div {
  background: url(../images/tab-index-active.png) no-repeat;
  background-size: 100%;
}
.footer-menu a:nth-of-type(2):hover div {
  background: url(../images/tab-category-active.png) no-repeat;
  background-size: contain;
}
.footer-menu a:nth-of-type(3):hover div {
  background: url(../images/tab-cart-active.png) no-repeat;
  background-size: contain;
}
.footer-menu a:nth-of-type(4):hover div {
  background: url(../images/tab-mine-active.png) no-repeat;
  background-size: contain;
}
